<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <base target="_blank" />
    <title>${ htmlWebpackPlugin.options.title }</title>
    <script src="https://cdn.bootcss.com/react/15.6.2/react.js"></script>
    <script src="https://cdn.bootcss.com/react/15.6.1/react-dom.js"></script>
  </head>

  <body>
    ${ htmlWebpackPlugin.files}
    <h1>${ htmlWebpackPlugin.options.title }</h1>
    <div id="root"></div>
    <!-- <script
    type="text/javascript"
    src="<%= htmlWebpackPlugin.files.js[0] %>"
  ></script>
    <% for (var i = 1; i < htmlWebpackPlugin.files.js.length; i++) { %>
    <script
      type="text/javascript"
      src="<%= htmlWebpackPlugin.files.js[i] %>"
    ></script>
    <% } %> -->

    <%= htmlWebpackPlugin.files.runtime %> <% for (var chunk in
    htmlWebpackPlugin.files.chunks) { %>
    <script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
    <% } %>
  </body>
</html>
